Asynchronous Event Handling and Real-time Threads in the Real-time Specification for Java

نویسندگان

  • Andy J. Wellings
  • Alan Burns
چکیده

This paper discusses the role and implementation of asynchronous event handlers in the Real-time specification for Java (RTSJ). For non-blocking handlers, an implementation model whereby all heap-using handlers are serviced by a single thread and all no-heap handlers are serviced by another server thread is proposed and schedulability analysis is derived. The model is shown to have bounded priority inversion. General multiple-server models are needed for nonblocking handlers but the support in the RTSJ is criticised as lacking in configurability. A solution is proposed which allow the number of servers to be specified, and the allocation of handlers to servers to be controlled. ."!It:; t:;A"t:;L!laL UUJt:;l;"" aLt:; LLLaLLy aLLU LJl~Jl l;UJlLruJ algorithms are simple and non blocking, and

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Asynchronous Transfer of Control in the Real-Time Specification for Java

The Real-Time Specification for Java provides a facility for Asynchronous Transfer of Control based on exception handling and a generalization of the interrupt() method from the Thread class. This mechanism allows the programming of useful idioms such as timeouts and thread termination without the latency found in polling, and it avoids the problems inherent in the Thread class’s stop() and des...

متن کامل

Model Checking Real Time Java Using Java PathFinder

The Real Time Specification for Java (RTSJ) is an augmentation of Java for real time applications of various degrees of hardness. The central features of RTSJ are real time threads; user defined schedulers; asynchronous events, handlers, and control transfers; a priority inheritance based default scheduler; non-heap memory areas such as immortal and scoped, and non-heap real time threads whose ...

متن کامل

On the Integration of Real-time Asynchronous Event Handling Mechanisms with Existing Operating System Services

This paper presents an asynchronous event handling mechanism for real-time applications that leverages existing system services in COTS systems. In our implementation, event dispatching is initiated within bottom-half interrupt handling routines, in order to support predictable, safe, and efficient event handling functionality at user-level. We compare our asynchronous I/O mechanism with existi...

متن کامل

A Comparison of the Mutual Exclusion Features in Ada and the Real-Time Specification for Java TM

A concurrent program generally comprises a collection of threads1 that interact cooperatively, either directly or through shared data objects. In the latter case the sharing needs to be implemented by some mechanism that ensures mutually exclusive access, or possibly “concurrent read / exclusive write”. Ada and the Real-Time Specification for Java have taken different approaches to mutual exclu...

متن کامل

User-level multithreading architecture for real-time systems: The Arx approach

In real-time systems, it becomes imperative to support preemptive multithreading at a low cost in order to timely respond to high priority asynchronous events. Although user-level threads provide more exible abstraction with lower overhead than kernel-level threads, kernel-level threads are more favored in real-time systems due to their simpler thread scheduling and signal handling. In this pap...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002